package com.javaEE.gamepigeon.service;

import com.javaEE.gamepigeon.entity.Competition;
import com.javaEE.gamepigeon.entity.CompetitionBrief;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CompetitionService {
    boolean addCompetition(Integer publisherId, String competitionName, String nickName, String officialUrl, String infoDetail, String registerDetail, MultipartFile imgFile,MultipartFile titleImg);

    boolean updateCompetition(Integer competitionId, Integer publisherId, String competitionName, String nickName, String officialUrl, String infoDetail, String registerDetail, MultipartFile imgFile, MultipartFile titleImg);

    boolean insertTag(Integer competitionId, Integer departmentId);

    boolean deleteTag(Integer tagId);

    List<Competition> queryCompetition(Integer comId, String competitionName, String nickName, String departmentName, Integer pageNum, Integer pageSize);

    boolean deleteCompetition(Integer comId);

    List<CompetitionBrief> queryBriefCompetition(Integer comId, String competitionName, String nickName, String departmentName, Integer pageNum, Integer pageSize);
}
